package com.lxm.ymcc.feginClient;

import com.lxm.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/*
    1.导包
 */
@FeignClient(value = "service-media",fallback = MediaFlieControllerFallBack.class)
public interface MediaFileServerFeign {
    @GetMapping(value = "/mediaFile/selectByCourseId/{id}")
    public JSONResult selectByCourseId(@PathVariable("id") Long id);




    }




